package com.javatiaocao.myblog.mapper;

import com.javatiaocao.myblog.model.ArticleLikesRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface StatisticMapper {

    void saveLikeInfo(ArticleLikesRecord articleLikesRecord);

    int getLikeNum(long articleId);

    int findlike(@Param("likerId") int likerId,@Param("articleId") long articleId);


    int isReadLikeMessage(long articleId);
}
